package com.wk.warehouse.mapper;

import java.util.HashMap;
import java.util.List;
import com.wk.warehouse.entity.Transshipment;

public interface TransshipmentMapper {

	// 模糊查询所有仓库信息
	public List<Transshipment> selectTransshipment(HashMap<String, Object> map);

	// 查询仓库总数
	public int transshipmentCount(HashMap<String, Object> map);

	// 添加调货表
	public Integer addTransshipment(Transshipment transshipment);

	/**
	 * 修改调货状态为已审核
	 */
	public int updateAuditState(int transId);
	
	// 完成调货，修改源仓库中源商品数量
	public int updateSourceNum(Transshipment transshipment);
}
